<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/css/main.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/jquery.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/js/formValidator.jquery/style.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/formValidator.jquery/cn.js"></script>
</head>

<body>
    <div id="main">
        <div id="navigation">当前位置：<a href="<?php echo $this->projectUrl(array('controller'=>'partner', 'action'=>'index'));?>">商家列表 </a>&gt;<a href="<?php echo $this->projectUrl(array('action'=>'index'));?>">产品列表</a> &gt;批量修改日报收件地址</div>
  <div id="body">
            <div id="edit">
                <form id="editForm" name="editForm" method="post" action="<?php echo $this->projectUrl();?>">
                    <table class="table">
                        <tr class="dataLine">
                            <td  height="26">要处理的邮件地址：</td>
                         <td><input name="email" type="text" class="input" id="email" value="" size="30" style="width:300px;" /></td>
                      </tr>
                        <tr class="dataLine">
                          <td>产品选择：</td>
                          <td>
                          <?php $i = 0;?>
						  <?php foreach($this->products as $product):?>
                          <?php $i++;?>
                          <?php if ($i%7== 0):?>
                          <?php echo '<br />';?>
                          <?php endif;?>
                          <label>
						  <input class="checkProductBtn" name="products[]" id="products[]" type="checkbox" value="<?php echo $product['id'];?>"/><?php echo $product['name']?></label> &nbsp;&nbsp;
						  <?php endforeach;?>						
                           <input type="button" name="all" id="all" value="全选" class="button" onclick="$('.checkProductBtn').attr('checked', true);"/>
                                <input type="button" name="cancel" id="cancel" value="取消" class="button" onclick="$('.checkProductBtn').attr('checked', false);"/>
                          </td>
                        </tr>
                        <tr class="dataLine">
                          <td>操作类型：</td>
                          <td><label>
                          <input type="radio" name="type" id="radio3" value="1" />添加
                          </label>
                            &nbsp;&nbsp;
                            <label>
                            <input type="radio" name="type" id="radio4" value="2"  />
                            删除
                            </label></td>
                        </tr>
                        
                        <tr class="dataLine">
                            <td>&nbsp;</td>
                            <td>
                            <input type="hidden" name="backUrl" value="<?php echo $this->vars['backUrl'];?>" />
                            <input type="submit" name="button" id="button" value="提交" class="button" /></td>
                        </tr>
                  </table>
              </form>
            </div>
        </div>
	</div>
</body>
</html>